package com.woniuxy.cloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户优惠券表
 * </p>
 *
 * @author Lucas
 * @since 2021-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TUserCoupon implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 用户优惠券id
     */
    @TableId(value = "user_coupon_id", type = IdType.AUTO)
    private Integer userCouponId;

    /**
     * 用户id
     */
    private Integer userCouponUserId;

    /**
     * 优惠券id
     */
    private Integer userCouponCouponId;

    /**
     * 数量
     */
    private Integer userCouponNum;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录新增时间
     */
    private Date rawUpdateTime;


}
